package com.yami.shop.personnft.common.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 *个人持仓
 *
 * @author FrozenWatermelon
 * @date 2020-10-28 15:27:24
 */
@Schema(description ="持仓台账")
@Data
@TableName("tz_person_nft_account")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PersonNftAccount implements Serializable{
    private static final long serialVersionUID = 1L;


    private String id;

    private String remark;

    private String userId;
    private Integer sceneType;
    private Integer count;
    private String content;

    private String denomId;
    private String dawName;
    private String shortUrl;
    private String orderId;
    private String tokenId;
	private Long productId;
	private Integer type;
	private String author;
	private String dawProductCode;
	private Date startTime;
	private Date endTime;
	/**
	 * 创建时间
	 */
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	/**
	 * 更新时间
	 */
	@JSONField(format="yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	private String channelType;
	private String chainCode;
	private String channelCode;

	@TableField(exist = false)
	private String sceneTypeStr;
}
